.class public Lcom/baidu/mobads/production/p;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/baidu/mobads/interfaces/IXAdContainerEventListener;


# instance fields
.field private a:Landroid/content/Context;

.field private final b:Lcom/baidu/mobads/production/b;

.field private c:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private d:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private e:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private f:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private g:Lcom/baidu/mobads/interfaces/IXAdContainer;

.field private h:Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;

.field private i:Lcom/baidu/mobads/utils/h;

.field private j:Lcom/baidu/mobads/utils/t;

.field private k:Lcom/baidu/mobads/interfaces/IXAdResource;

.field private l:I

.field private m:I

.field private n:I

.field private o:I

.field private p:I

.field private q:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/baidu/mobads/production/b;)V
    .locals 3

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Lcom/baidu/mobads/production/p;->l:I

    const/4 v1, 0x2

    .line 3
    iput v1, p0, Lcom/baidu/mobads/production/p;->m:I

    const/16 v2, 0xf

    .line 4
    iput v2, p0, Lcom/baidu/mobads/production/p;->n:I

    .line 5
    iput v0, p0, Lcom/baidu/mobads/production/p;->o:I

    .line 6
    iput v1, p0, Lcom/baidu/mobads/production/p;->p:I

    .line 7
    iput v2, p0, Lcom/baidu/mobads/production/p;->q:I

    .line 8
    iput-object p1, p0, Lcom/baidu/mobads/production/p;->a:Landroid/content/Context;

    .line 9
    iput-object p2, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    .line 10
    new-instance p1, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {p1, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object p1, p0, Lcom/baidu/mobads/production/p;->c:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 11
    new-instance p1, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {p1, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object p1, p0, Lcom/baidu/mobads/production/p;->d:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 12
    new-instance p1, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {p1, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 13
    new-instance p1, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {p1, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object p1, p0, Lcom/baidu/mobads/production/p;->f:Ljava/util/concurrent/atomic/AtomicBoolean;

    return-void
.end method

.method static synthetic a(Lcom/baidu/mobads/production/p;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/baidu/mobads/production/p;->l:I

    return p0
.end method

.method private a()V
    .locals 14

    .line 24
    iget-object v0, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/baidu/mobads/production/p;->j:Lcom/baidu/mobads/utils/t;

    if-eqz v1, :cond_1

    iget-object v2, p0, Lcom/baidu/mobads/production/p;->i:Lcom/baidu/mobads/utils/h;

    if-eqz v2, :cond_1

    iget-object v1, p0, Lcom/baidu/mobads/production/p;->h:Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/baidu/mobads/production/p;->k:Lcom/baidu/mobads/interfaces/IXAdResource;

    if-nez v1, :cond_0

    goto :goto_0

    .line 25
    :cond_0
    invoke-virtual {v0}, Lcom/baidu/mobads/production/b;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    const/16 v4, 0x20d

    iget-object v0, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    .line 26
    invoke-virtual {v0}, Lcom/baidu/mobads/production/b;->getProdInfo()Lcom/baidu/mobads/interfaces/IXAdProdInfo;

    move-result-object v0

    invoke-interface {v0}, Lcom/baidu/mobads/interfaces/IXAdProdInfo;->getProdType()Ljava/lang/String;

    move-result-object v6

    iget-object v0, p0, Lcom/baidu/mobads/production/p;->h:Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;

    .line 27
    invoke-interface {v0}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getAppPackageName()Ljava/lang/String;

    move-result-object v7

    iget-object v0, p0, Lcom/baidu/mobads/production/p;->i:Lcom/baidu/mobads/utils/h;

    iget-object v1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    .line 28
    invoke-virtual {v1}, Lcom/baidu/mobads/production/b;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    .line 29
    invoke-virtual {v0, v1}, Lcom/baidu/mobads/utils/h;->getAppId(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v8

    iget-object v0, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    .line 30
    invoke-virtual {v0}, Lcom/baidu/mobads/production/b;->getProdInfo()Lcom/baidu/mobads/interfaces/IXAdProdInfo;

    move-result-object v0

    invoke-interface {v0}, Lcom/baidu/mobads/interfaces/IXAdProdInfo;->getAdPlacementId()Ljava/lang/String;

    move-result-object v9

    iget-object v0, p0, Lcom/baidu/mobads/production/p;->j:Lcom/baidu/mobads/utils/t;

    .line 31
    invoke-virtual {v0}, Lcom/baidu/mobads/utils/t;->getPhoneOSBrand()Ljava/lang/String;

    move-result-object v10

    sget-object v11, Landroid/os/Build;->MODEL:Ljava/lang/String;

    sget-object v12, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    sget v13, Landroid/os/Build$VERSION;->SDK_INT:I

    const-string v5, "click"

    .line 32
    invoke-virtual/range {v2 .. v13}, Lcom/baidu/mobads/utils/h;->sendDownloadAdLog(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    .line 33
    new-instance v0, Lcom/baidu/mobads/command/a/a;

    iget-object v1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    iget-object v2, p0, Lcom/baidu/mobads/production/p;->h:Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;

    iget-object v3, p0, Lcom/baidu/mobads/production/p;->k:Lcom/baidu/mobads/interfaces/IXAdResource;

    invoke-direct {v0, v1, v2, v3}, Lcom/baidu/mobads/command/a/a;-><init>(Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Lcom/baidu/mobads/interfaces/IXAdResource;)V

    invoke-virtual {v0}, Lcom/baidu/mobads/command/a/a;->a()V

    :cond_1
    :goto_0
    return-void
.end method

.method private a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 8

    const/4 v0, 0x0

    .line 7
    :try_start_0
    iput v0, p0, Lcom/baidu/mobads/production/p;->o:I

    .line 8
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    .line 9
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v1

    invoke-virtual {v1}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getPackageUtils()Lcom/baidu/mobads/utils/r;

    move-result-object v3

    .line 10
    new-instance v7, Lcom/baidu/mobads/production/r;

    move-object v1, v7

    move-object v2, p0

    move-object v4, p1

    move-object v5, p2

    move-object v6, v0

    invoke-direct/range {v1 .. v6}, Lcom/baidu/mobads/production/r;-><init>(Lcom/baidu/mobads/production/p;Lcom/baidu/mobads/interfaces/utils/IXAdPackageUtils;Landroid/content/Context;Ljava/lang/String;Ljava/util/Timer;)V

    const-wide/16 v3, 0x0

    const-wide/16 v5, 0x3e8

    move-object v1, v0

    move-object v2, v7

    .line 11
    invoke-virtual/range {v1 .. v6}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;JJ)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method private a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    .locals 9

    const/4 v0, 0x0

    .line 2
    :try_start_0
    iput v0, p0, Lcom/baidu/mobads/production/p;->l:I

    .line 3
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    .line 4
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v1

    invoke-virtual {v1}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getPackageUtils()Lcom/baidu/mobads/utils/r;

    move-result-object v3

    .line 5
    new-instance v8, Lcom/baidu/mobads/production/q;

    move-object v1, v8

    move-object v2, p0

    move-object v4, p1

    move-object v5, p3

    move-object v6, v0

    move-object v7, p2

    invoke-direct/range {v1 .. v7}, Lcom/baidu/mobads/production/q;-><init>(Lcom/baidu/mobads/production/p;Lcom/baidu/mobads/interfaces/utils/IXAdPackageUtils;Landroid/content/Context;Ljava/lang/String;Ljava/util/Timer;Ljava/lang/String;)V

    const-wide/16 v3, 0x0

    const-wide/16 v5, 0x3e8

    move-object v1, v0

    move-object v2, v8

    .line 6
    invoke-virtual/range {v1 .. v6}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;JJ)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method private a(Ljava/util/Set;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Set<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 19
    new-instance v0, Lcom/baidu/mobads/openad/d/a;

    invoke-direct {v0}, Lcom/baidu/mobads/openad/d/a;-><init>()V

    .line 20
    invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 21
    new-instance v2, Lcom/baidu/mobads/openad/d/b;

    const-string v3, ""

    invoke-direct {v2, v1, v3}, Lcom/baidu/mobads/openad/d/b;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v1, 0x1

    .line 22
    iput v1, v2, Lcom/baidu/mobads/openad/d/b;->e:I

    .line 23
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Lcom/baidu/mobads/openad/d/a;->a(Lcom/baidu/mobads/openad/d/b;Ljava/lang/Boolean;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method static synthetic b(Lcom/baidu/mobads/production/p;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/baidu/mobads/production/p;->m:I

    return p0
.end method

.method static synthetic c(Lcom/baidu/mobads/production/p;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/baidu/mobads/production/p;->n:I

    return p0
.end method

.method static synthetic d(Lcom/baidu/mobads/production/p;)I
    .locals 2

    .line 1
    iget v0, p0, Lcom/baidu/mobads/production/p;->l:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/baidu/mobads/production/p;->l:I

    return v0
.end method

.method static synthetic e(Lcom/baidu/mobads/production/p;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/baidu/mobads/production/p;->o:I

    return p0
.end method

.method static synthetic f(Lcom/baidu/mobads/production/p;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/baidu/mobads/production/p;->p:I

    return p0
.end method

.method static synthetic g(Lcom/baidu/mobads/production/p;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/baidu/mobads/production/p;->q:I

    return p0
.end method

.method static synthetic h(Lcom/baidu/mobads/production/p;)I
    .locals 2

    .line 1
    iget v0, p0, Lcom/baidu/mobads/production/p;->o:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/baidu/mobads/production/p;->o:I

    return v0
.end method

.method static synthetic i(Lcom/baidu/mobads/production/p;)Lcom/baidu/mobads/production/b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    return-object p0
.end method


# virtual methods
.method public a(Ljava/util/HashMap;Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;Lcom/baidu/mobads/interfaces/IXAdResource;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;)Z
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;",
            "Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;",
            "Lcom/baidu/mobads/interfaces/IXAdResource;",
            "Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;",
            ")Z"
        }
    .end annotation

    if-eqz p1, :cond_0

    const-string v0, "lpShoubaiStyle"

    .line 12
    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 13
    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    const-string v2, "video_and_web"

    invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 14
    new-instance v1, Lcom/baidu/mobads/command/c/c;

    .line 15
    invoke-interface {p4}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getWebUrl()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, p2, p4, p3, v2}, Lcom/baidu/mobads/command/c/c;-><init>(Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Lcom/baidu/mobads/interfaces/IXAdResource;Ljava/lang/String;)V

    .line 16
    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Ljava/lang/String;

    iput-object p2, v1, Lcom/baidu/mobads/command/c/c;->f:Ljava/lang/String;

    const-string p2, "lpMurlStyle"

    .line 17
    invoke-virtual {p1, p2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    iput-object p1, v1, Lcom/baidu/mobads/command/c/c;->g:Ljava/lang/String;

    .line 18
    invoke-virtual {v1}, Lcom/baidu/mobads/command/c/c;->a()V

    const/4 p1, 0x1

    return p1

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public onAdClicked(Lcom/baidu/mobads/interfaces/IXAdContainer;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 18
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    move-object/from16 v3, p3

    move-object/from16 v4, p4

    const-string v5, ""

    .line 1
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v6

    invoke-virtual {v6}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getCommonUtils()Lcom/baidu/mobads/utils/h;

    move-result-object v6

    iput-object v6, v0, Lcom/baidu/mobads/production/p;->i:Lcom/baidu/mobads/utils/h;

    .line 2
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v6

    invoke-virtual {v6}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getSystemUtils()Lcom/baidu/mobads/interfaces/utils/IXAdSystemUtils;

    move-result-object v6

    check-cast v6, Lcom/baidu/mobads/utils/t;

    iput-object v6, v0, Lcom/baidu/mobads/production/p;->j:Lcom/baidu/mobads/utils/t;

    .line 3
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v6

    invoke-virtual {v6}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getAdConstants()Lcom/baidu/mobads/utils/l;

    move-result-object v6

    .line 4
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v7

    invoke-virtual {v7}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getPackageUtils()Lcom/baidu/mobads/utils/r;

    move-result-object v8

    .line 5
    iget-object v7, v0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    .line 6
    iput-object v1, v0, Lcom/baidu/mobads/production/p;->g:Lcom/baidu/mobads/interfaces/IXAdContainer;

    .line 7
    iput-object v2, v0, Lcom/baidu/mobads/production/p;->h:Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;

    .line 8
    invoke-interface/range {p1 .. p1}, Lcom/baidu/mobads/interfaces/IXAdContainer;->getAdContainerContext()Lcom/baidu/mobads/interfaces/IXAdContainerContext;

    move-result-object v9

    invoke-interface {v9}, Lcom/baidu/mobads/interfaces/IXAdContainerContext;->getAdResource()Lcom/baidu/mobads/interfaces/IXAdResource;

    move-result-object v9

    iput-object v9, v0, Lcom/baidu/mobads/production/p;->k:Lcom/baidu/mobads/interfaces/IXAdResource;

    const/4 v15, 0x0

    .line 9
    invoke-static {v15}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v9

    .line 10
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getClickThroughUrl()Ljava/lang/String;

    move-result-object v10

    .line 11
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getActionType()I

    move-result v11

    .line 12
    new-instance v12, Ljava/util/ArrayList;

    invoke-direct {v12}, Ljava/util/ArrayList;-><init>()V

    .line 13
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getThirdClickTrackingUrls()Ljava/util/List;

    move-result-object v13

    const/4 v14, 0x0

    .line 14
    :goto_0
    invoke-interface {v13}, Ljava/util/List;->size()I

    move-result v15

    if-ge v14, v15, :cond_0

    .line 15
    invoke-interface {v13, v14}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v15

    check-cast v15, Ljava/lang/String;

    .line 16
    invoke-interface/range {p1 .. p1}, Lcom/baidu/mobads/interfaces/IXAdContainer;->getPlayheadTime()D

    move-result-wide v3

    double-to-int v3, v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    const-string v4, "\\$\\{PROGRESS\\}"

    .line 17
    invoke-virtual {v15, v4, v3}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 18
    invoke-virtual {v12, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v14, v14, 0x1

    move-object/from16 v3, p3

    move-object/from16 v4, p4

    goto :goto_0

    .line 19
    :cond_0
    new-instance v3, Ljava/util/HashSet;

    invoke-direct {v3}, Ljava/util/HashSet;-><init>()V

    .line 20
    invoke-interface {v3, v12}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z

    .line 21
    invoke-direct {v0, v3}, Lcom/baidu/mobads/production/p;->a(Ljava/util/Set;)V

    .line 22
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeOpenExternalApp()I

    move-result v3

    const/4 v4, 0x1

    if-ne v11, v3, :cond_4

    .line 23
    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    .line 24
    :try_start_0
    new-instance v9, Lorg/json/JSONObject;

    invoke-direct {v9, v10}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    move-object v15, v9

    goto :goto_2

    .line 25
    :catch_0
    :try_start_1
    new-instance v9, Lorg/json/JSONObject;

    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getAppOpenStrs()Ljava/lang/String;

    move-result-object v11

    invoke-direct {v9, v11}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 26
    new-instance v11, Lcom/baidu/mobads/openad/d/a;

    invoke-direct {v11}, Lcom/baidu/mobads/openad/d/a;-><init>()V

    .line 27
    new-instance v12, Lcom/baidu/mobads/openad/d/b;

    invoke-direct {v12, v10, v5}, Lcom/baidu/mobads/openad/d/b;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 28
    iput v4, v12, Lcom/baidu/mobads/openad/d/b;->e:I

    .line 29
    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v10

    invoke-virtual {v11, v12, v10}, Lcom/baidu/mobads/openad/d/a;->a(Lcom/baidu/mobads/openad/d/b;Ljava/lang/Boolean;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_1

    :goto_2
    const-string v9, "page"

    .line 30
    invoke-virtual {v15, v9, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v14

    .line 31
    invoke-interface {v7}, Lcom/baidu/mobads/interfaces/IXAdProd;->getApplicationContext()Landroid/content/Context;

    move-result-object v9

    .line 32
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getAppPackageName()Ljava/lang/String;

    move-result-object v11

    const/16 v12, 0x16e

    const-string v13, "fb_act"

    const/4 v10, 0x0

    invoke-virtual {v15, v13, v10}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v16

    const-string v4, "version"

    invoke-virtual {v15, v4, v10}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v4

    move-object v10, v14

    move-object/from16 v17, v13

    move/from16 v13, v16

    move-object/from16 v16, v3

    move-object v3, v14

    move v14, v4

    .line 33
    invoke-interface/range {v8 .. v14}, Lcom/baidu/mobads/interfaces/utils/IXAdPackageUtils;->sendAPOInfo(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;III)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 34
    invoke-virtual/range {p3 .. p3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_3

    .line 35
    new-instance v1, Lcom/baidu/mobads/command/b/a;

    iget-object v4, v0, Lcom/baidu/mobads/production/p;->k:Lcom/baidu/mobads/interfaces/IXAdResource;

    invoke-direct {v1, v7, v2, v4, v3}, Lcom/baidu/mobads/command/b/a;-><init>(Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Lcom/baidu/mobads/interfaces/IXAdResource;Ljava/lang/String;)V

    invoke-virtual {v1}, Lcom/baidu/mobads/command/b/a;->a()V

    goto :goto_3

    :cond_1
    move-object/from16 v8, v17

    const/4 v4, 0x0

    .line 36
    invoke-virtual {v15, v8, v4}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v4

    .line 37
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getOriginJsonObject()Lorg/json/JSONObject;

    move-result-object v8

    .line 38
    new-instance v9, Lcom/baidu/mobads/vo/XAdInstanceInfo;

    invoke-direct {v9, v8}, Lcom/baidu/mobads/vo/XAdInstanceInfo;-><init>(Lorg/json/JSONObject;)V

    .line 39
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeLandingPage()I

    move-result v8

    const-string v10, "fallback"

    if-ne v4, v8, :cond_2

    .line 40
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeLandingPage()I

    move-result v4

    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setActionType(I)V

    .line 41
    invoke-virtual {v15, v10, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setClickThroughUrl(Ljava/lang/String;)V

    .line 42
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getTitle()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setTitle(Ljava/lang/String;)V

    const/4 v4, 0x1

    .line 43
    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setInapp(Z)V

    move-object/from16 v8, p3

    move-object/from16 v12, p4

    .line 44
    invoke-virtual {v0, v1, v9, v8, v12}, Lcom/baidu/mobads/production/p;->onAdClicked(Lcom/baidu/mobads/interfaces/IXAdContainer;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Ljava/lang/Boolean;Ljava/util/HashMap;)V

    goto :goto_3

    :cond_2
    move-object/from16 v8, p3

    move-object/from16 v12, p4

    .line 45
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeDownload()I

    move-result v11

    if-ne v4, v11, :cond_3

    .line 46
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeDownload()I

    move-result v4

    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setActionType(I)V

    .line 47
    invoke-virtual {v15, v10, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setClickThroughUrl(Ljava/lang/String;)V

    .line 48
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getTitle()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setTitle(Ljava/lang/String;)V

    .line 49
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getQueryKey()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setQueryKey(Ljava/lang/String;)V

    const/4 v4, 0x1

    .line 50
    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setInapp(Z)V

    .line 51
    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setAPOOpen(Z)V

    .line 52
    invoke-virtual {v9, v3}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setPage(Ljava/lang/String;)V

    .line 53
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getAppPackageName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v9, v4}, Lcom/baidu/mobads/vo/XAdInstanceInfo;->setAppPackageName(Ljava/lang/String;)V

    .line 54
    invoke-virtual {v0, v1, v9, v8, v12}, Lcom/baidu/mobads/production/p;->onAdClicked(Lcom/baidu/mobads/interfaces/IXAdContainer;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Ljava/lang/Boolean;Ljava/util/HashMap;)V

    .line 55
    :cond_3
    :goto_3
    invoke-interface {v7}, Lcom/baidu/mobads/interfaces/IXAdProd;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getAppPackageName()Ljava/lang/String;

    move-result-object v4

    invoke-direct {v0, v1, v3, v4}, Lcom/baidu/mobads/production/p;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    move-object/from16 v9, v16

    goto/16 :goto_8

    :catch_1
    return-void

    :cond_4
    move-object/from16 v8, p3

    move-object/from16 v12, p4

    const/4 v4, 0x0

    .line 56
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeDownload()I

    move-result v3

    if-ne v11, v3, :cond_5

    .line 57
    iget-object v1, v0, Lcom/baidu/mobads/production/p;->k:Lcom/baidu/mobads/interfaces/IXAdResource;

    invoke-virtual {v0, v12, v7, v1, v2}, Lcom/baidu/mobads/production/p;->a(Ljava/util/HashMap;Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;Lcom/baidu/mobads/interfaces/IXAdResource;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;)Z

    move-result v1

    if-nez v1, :cond_11

    .line 58
    invoke-virtual/range {p3 .. p3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_11

    .line 59
    invoke-direct/range {p0 .. p0}, Lcom/baidu/mobads/production/p;->a()V

    goto/16 :goto_8

    .line 60
    :cond_5
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeLandingPage()I

    move-result v3

    if-eq v11, v3, :cond_d

    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeOpenMap()I

    move-result v3

    if-ne v11, v3, :cond_6

    goto/16 :goto_7

    .line 61
    :cond_6
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeMakeCall()I

    move-result v1

    if-eq v11, v1, :cond_9

    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeSendSMS()I

    move-result v1

    if-eq v11, v1, :cond_9

    .line 62
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeSendMail()I

    move-result v1

    if-ne v11, v1, :cond_7

    goto :goto_4

    .line 63
    :cond_7
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeNothing2Do()I

    move-result v1

    if-ne v11, v1, :cond_8

    goto/16 :goto_8

    .line 64
    :cond_8
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeRichMedia()I

    goto/16 :goto_8

    :cond_9
    :goto_4
    const/4 v1, 0x1

    .line 65
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v9

    .line 66
    invoke-virtual/range {p3 .. p3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_a

    .line 67
    new-instance v1, Lcom/baidu/mobads/command/b/a;

    iget-object v3, v0, Lcom/baidu/mobads/production/p;->k:Lcom/baidu/mobads/interfaces/IXAdResource;

    invoke-direct {v1, v7, v2, v3, v10}, Lcom/baidu/mobads/command/b/a;-><init>(Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Lcom/baidu/mobads/interfaces/IXAdResource;Ljava/lang/String;)V

    invoke-virtual {v1}, Lcom/baidu/mobads/command/b/a;->a()V

    .line 68
    :cond_a
    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getActTypeMakeCall()I

    move-result v1

    if-ne v11, v1, :cond_11

    .line 69
    invoke-interface {v7}, Lcom/baidu/mobads/interfaces/IXAdProd;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    .line 70
    new-instance v3, Landroid/content/Intent;

    const-string v5, "android.intent.action.VIEW"

    invoke-direct {v3, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 71
    invoke-static {v10}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    const/16 v5, 0x40

    .line 72
    invoke-virtual {v1, v3, v5}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_11

    .line 73
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v3

    if-lez v3, :cond_11

    const/4 v3, 0x0

    const/4 v10, 0x0

    .line 74
    :goto_5
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v5

    if-ge v10, v5, :cond_c

    const/4 v5, 0x1

    if-lt v10, v5, :cond_b

    if-eqz v3, :cond_b

    .line 75
    invoke-interface {v1, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroid/content/pm/ResolveInfo;

    iget-object v5, v5, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v5, v5, Landroid/content/pm/ActivityInfo;->processName:Ljava/lang/String;

    invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_b

    const/4 v15, 0x0

    goto :goto_6

    .line 76
    :cond_b
    invoke-interface {v1, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/content/pm/ResolveInfo;

    iget-object v3, v3, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v3, v3, Landroid/content/pm/ActivityInfo;->processName:Ljava/lang/String;

    add-int/lit8 v10, v10, 0x1

    goto :goto_5

    :cond_c
    const/4 v15, 0x1

    :goto_6
    if-eqz v15, :cond_11

    .line 77
    invoke-interface {v7}, Lcom/baidu/mobads/interfaces/IXAdProd;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1, v3}, Lcom/baidu/mobads/production/p;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_8

    .line 78
    :cond_d
    :goto_7
    iget-object v3, v0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    invoke-virtual {v3}, Lcom/baidu/mobads/production/b;->getProdInfo()Lcom/baidu/mobads/interfaces/IXAdProdInfo;

    move-result-object v3

    invoke-interface {v3}, Lcom/baidu/mobads/interfaces/IXAdProdInfo;->getProdType()Ljava/lang/String;

    move-result-object v3

    invoke-interface {v6}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getProductionTypeSplash()Ljava/lang/String;

    move-result-object v4

    if-eq v3, v4, :cond_e

    const/4 v3, 0x1

    .line 79
    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v9

    .line 80
    :cond_e
    invoke-virtual/range {p3 .. p3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v3

    if-eqz v3, :cond_11

    .line 81
    invoke-interface/range {p2 .. p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->isInapp()Z

    move-result v3

    if-eqz v3, :cond_10

    .line 82
    iget-object v1, v0, Lcom/baidu/mobads/production/p;->k:Lcom/baidu/mobads/interfaces/IXAdResource;

    invoke-virtual {v0, v12, v7, v1, v2}, Lcom/baidu/mobads/production/p;->a(Ljava/util/HashMap;Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;Lcom/baidu/mobads/interfaces/IXAdResource;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;)Z

    move-result v1

    if-nez v1, :cond_11

    .line 83
    new-instance v1, Lcom/baidu/mobads/command/c/c;

    iget-object v3, v0, Lcom/baidu/mobads/production/p;->k:Lcom/baidu/mobads/interfaces/IXAdResource;

    invoke-direct {v1, v7, v2, v3, v10}, Lcom/baidu/mobads/command/c/c;-><init>(Lcom/baidu/mobads/interfaces/IXNonLinearAdSlot;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Lcom/baidu/mobads/interfaces/IXAdResource;Ljava/lang/String;)V

    if-eqz v12, :cond_f

    const-string v3, "lpShoubaiStyle"

    .line 84
    invoke-virtual {v12, v3}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_f

    .line 85
    invoke-virtual {v12, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    iput-object v3, v1, Lcom/baidu/mobads/command/c/c;->f:Ljava/lang/String;

    .line 86
    :cond_f
    invoke-virtual {v1}, Lcom/baidu/mobads/command/c/c;->a()V

    goto :goto_8

    .line 87
    :cond_10
    iget-object v3, v0, Lcom/baidu/mobads/production/p;->i:Lcom/baidu/mobads/utils/h;

    invoke-interface/range {p1 .. p1}, Lcom/baidu/mobads/interfaces/IXAdContainer;->getAdContainerContext()Lcom/baidu/mobads/interfaces/IXAdContainerContext;

    move-result-object v1

    invoke-interface {v1}, Lcom/baidu/mobads/interfaces/IXAdContainerContext;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v3, v1, v10}, Lcom/baidu/mobads/utils/h;->browserOutside(Landroid/content/Context;Ljava/lang/String;)V

    .line 88
    :cond_11
    :goto_8
    invoke-virtual {v9}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_12

    .line 89
    iget-object v1, v0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance v3, Lcom/baidu/mobads/e/a;

    const-string v4, "AdClickThru"

    invoke-direct {v3, v4}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v3}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    .line 90
    :cond_12
    new-instance v1, Lcom/baidu/mobads/e/a;

    const-string v3, "AdUserClick"

    invoke-direct {v1, v3}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;)V

    .line 91
    invoke-virtual {v1, v2}, Lcom/baidu/mobads/openad/c/b;->setData(Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;)V

    .line 92
    iget-object v2, v0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    invoke-virtual {v2, v1}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    return-void
.end method

.method public onAdCustomEvent(Ljava/lang/String;Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    const-string p2, "onrvideocachesucc"

    .line 1
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_0

    .line 2
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p2, Lcom/baidu/mobads/e/a;

    const-string p3, "AdRvdieoCacheSucc"

    invoke-direct {p2, p3, p4}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    goto :goto_0

    :cond_0
    const-string p2, "onrvideocachefailed"

    .line 3
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_1

    .line 4
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p2, Lcom/baidu/mobads/e/a;

    const-string p3, "AdRvdieoCacheFailed"

    invoke-direct {p2, p3, p4}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    goto :goto_0

    :cond_1
    const-string p2, "playCompletion"

    .line 5
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_2

    .line 6
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p2, Lcom/baidu/mobads/e/a;

    const-string p3, "PlayCompletion"

    invoke-direct {p2, p3, p4}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    goto :goto_0

    :cond_2
    const-string p2, "AdRvdieoPlayError"

    .line 7
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_3

    .line 8
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p3, Lcom/baidu/mobads/e/a;

    invoke-direct {p3, p2, p4}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    invoke-virtual {p1, p3}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    goto :goto_0

    :cond_3
    const-string p2, "AdStatusChange"

    .line 9
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_4

    .line 10
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p3, Lcom/baidu/mobads/e/a;

    invoke-direct {p3, p2, p4}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    invoke-virtual {p1, p3}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    :cond_4
    :goto_0
    return-void
.end method

.method public onAdDurationChange(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdError(Lcom/baidu/mobads/interfaces/IXAdContainer;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-nez p1, :cond_1

    if-eqz p4, :cond_0

    .line 2
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object p1

    invoke-virtual {p1}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getAdConstants()Lcom/baidu/mobads/utils/l;

    move-result-object p1

    .line 3
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    .line 4
    invoke-interface {p1}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getInfoKeyErrorCode()Ljava/lang/String;

    move-result-object p3

    invoke-virtual {p4, p3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p3

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string p3, ","

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p1}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getInfoKeyErrorMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p4, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 5
    invoke-interface {p1}, Lcom/baidu/mobads/interfaces/utils/IXAdConstants;->getInfoKeyErrorModule()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p4, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 6
    invoke-static {}, Lcom/baidu/mobads/b/a;->a()Lcom/baidu/mobads/b/a;

    move-result-object p2

    invoke-virtual {p2, p1}, Lcom/baidu/mobads/b/a;->a(Ljava/lang/String;)V

    .line 7
    :cond_0
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 p2, 0x1

    invoke-virtual {p1, p2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 8
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p2, Lcom/baidu/mobads/e/a;

    const-string p3, "AdError"

    invoke-direct {p2, p3, p4}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    :cond_1
    return-void
.end method

.method public onAdExpandedChange(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdImpression(Lcom/baidu/mobads/interfaces/IXAdContainer;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-interface {p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getImpressionUrls()Ljava/util/Set;

    move-result-object p1

    invoke-direct {p0, p1}, Lcom/baidu/mobads/production/p;->a(Ljava/util/Set;)V

    .line 2
    new-instance p1, Lcom/baidu/mobads/e/a;

    const-string p3, "AdImpression"

    invoke-direct {p1, p3}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;)V

    .line 3
    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/b;->setData(Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;)V

    .line 4
    iget-object p2, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    invoke-virtual {p2, p1}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    return-void
.end method

.method public onAdInteraction(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdLinearChange(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdLoaded(Lcom/baidu/mobads/interfaces/IXAdContainer;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object p2

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object p3

    if-ne p2, p3, :cond_0

    .line 2
    iget-object p2, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    invoke-virtual {p2, p1, p4}, Lcom/baidu/mobads/production/b;->c(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/util/HashMap;)V

    goto :goto_0

    .line 3
    :cond_0
    new-instance p2, Landroid/os/Handler;

    iget-object p3, p0, Lcom/baidu/mobads/production/p;->a:Landroid/content/Context;

    invoke-virtual {p3}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;

    move-result-object p3

    invoke-direct {p2, p3}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    new-instance p3, Lcom/baidu/mobads/production/s;

    invoke-direct {p3, p0, p1, p4}, Lcom/baidu/mobads/production/s;-><init>(Lcom/baidu/mobads/production/p;Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/util/HashMap;)V

    invoke-virtual {p2, p3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :goto_0
    return-void
.end method

.method public onAdPaused(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p2, Lcom/baidu/mobads/e/a;

    const-string p3, "AdPaused"

    invoke-direct {p2, p3}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    return-void
.end method

.method public onAdPlaying(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p2, Lcom/baidu/mobads/e/a;

    const-string p3, "AdPlaying"

    invoke-direct {p2, p3}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    return-void
.end method

.method public onAdRemainingTimeChange(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdSizeChange(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdSkippableStateChange(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdSkipped(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdStarted(Lcom/baidu/mobads/interfaces/IXAdContainer;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object p2

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object p3

    if-ne p2, p3, :cond_0

    .line 2
    iget-object p2, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    invoke-virtual {p2, p1, p4}, Lcom/baidu/mobads/production/b;->d(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/util/HashMap;)V

    goto :goto_0

    .line 3
    :cond_0
    new-instance p2, Landroid/os/Handler;

    iget-object p3, p0, Lcom/baidu/mobads/production/p;->a:Landroid/content/Context;

    invoke-virtual {p3}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;

    move-result-object p3

    invoke-direct {p2, p3}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    new-instance p3, Lcom/baidu/mobads/production/t;

    invoke-direct {p3, p0, p1, p4}, Lcom/baidu/mobads/production/t;-><init>(Lcom/baidu/mobads/production/p;Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/util/HashMap;)V

    invoke-virtual {p2, p3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :goto_0
    return-void
.end method

.method public onAdStoped(Lcom/baidu/mobads/interfaces/IXAdContainer;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;",
            "Ljava/lang/Boolean;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    if-eqz p2, :cond_0

    .line 1
    new-instance p3, Ljava/util/HashSet;

    invoke-direct {p3}, Ljava/util/HashSet;-><init>()V

    .line 2
    invoke-interface {p2}, Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;->getCloseTrackers()Ljava/util/List;

    move-result-object p2

    invoke-interface {p3, p2}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z

    .line 3
    invoke-direct {p0, p3}, Lcom/baidu/mobads/production/p;->a(Ljava/util/Set;)V

    .line 4
    :cond_0
    invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p2

    if-eqz p2, :cond_1

    .line 5
    invoke-interface {p1}, Lcom/baidu/mobads/interfaces/IXAdContainer;->getAdContainerContext()Lcom/baidu/mobads/interfaces/IXAdContainerContext;

    move-result-object p1

    .line 6
    iget-object p2, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    invoke-interface {p1}, Lcom/baidu/mobads/interfaces/IXAdContainerContext;->getAdResponseInfo()Lcom/baidu/mobads/interfaces/IXAdResponseInfo;

    move-result-object p3

    invoke-interface {p1}, Lcom/baidu/mobads/interfaces/IXAdContainerContext;->getAdInstanceInfo()Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;

    move-result-object p1

    invoke-virtual {p2, p3, p1}, Lcom/baidu/mobads/production/b;->a(Lcom/baidu/mobads/interfaces/IXAdResponseInfo;Lcom/baidu/mobads/interfaces/IXAdInstanceInfo;)V

    goto :goto_0

    .line 7
    :cond_1
    iget-object p2, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    invoke-virtual {p2, p1, p5}, Lcom/baidu/mobads/production/b;->e(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/util/HashMap;)V

    .line 8
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p2, Lcom/baidu/mobads/e/a;

    const-string p3, "AdStopped"

    invoke-direct {p2, p3, p5}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    :goto_0
    return-void
.end method

.method public onAdUserAcceptInvitation(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdUserClosed(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->b:Lcom/baidu/mobads/production/b;

    new-instance p2, Lcom/baidu/mobads/e/a;

    const-string p3, "AdUserClose"

    invoke-direct {p2, p3}, Lcom/baidu/mobads/e/a;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1, p2}, Lcom/baidu/mobads/openad/c/c;->dispatchEvent(Lcom/baidu/mobads/openad/interfaces/event/IOAdEvent;)V

    return-void
.end method

.method public onAdUserMinimize(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdVideoComplete(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdVideoFirstQuartile(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdVideoMidpoint(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdVideoStart(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdVideoThirdQuartile(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method

.method public onAdVolumeChange(Lcom/baidu/mobads/interfaces/IXAdContainer;Ljava/lang/Boolean;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/baidu/mobads/interfaces/IXAdContainer;",
            "Ljava/lang/Boolean;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/baidu/mobads/production/p;->e:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result p1

    if-eqz p1, :cond_0

    :cond_0
    return-void
.end method
